package com.hopu.v1.mapper.admin.subject;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.v1.pojo.subject.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.hopu.v1.pojo.subject.Subject
 */
public interface SubjectMapper extends BaseMapper<Subject> {

    List<Subject> selectAll(@Param("currentPage") Integer currentPage,@Param("pageSize") Integer pageSize);

    Integer selectAllCount();

    List<Subject> getSubjectByStaffId(Integer empId);
}




